<template>
  <div id="app">
    <!-- <div class="nav">
      <div class="nav-left">
        <img src="./assets/img/qj_four.png" alt=""><span class="qj">千家MIS</span><span class="total">电话统计篇</span>
      </div>
      <el-menu :default-active="activePath?activePath:activeIndex" router mode="horizontal">
      <el-menu-item index="/CallAmount">通话量</el-menu-item>
       <el-menu-item index="/ResourceNumber">资源编号</el-menu-item> 
       <el-menu-item index="/rank">统计图</el-menu-item> 
    </el-menu>
    </div> -->
    <router-view/>
  </div>
</template>
<script>
export default {
  data () {
    return {
      activeIndex: '/CallAmount'
    }
  },
  computed: {
    activePath () {
      return this.$route.path
    }
  }
}
</script>
